import request from '@/utils/request'

// 查询主动安全报警查询列表
export function listSelect(query) {
  return request({
    url: '/system/select/list',
    method: 'get',
    params: query
  })
}

// 查询主动安全报警查询详细
export function getSelect(id) {
  return request({
    url: '/system/select/' + id,
    method: 'get'
  })
}

// 新增主动安全报警查询
export function addSelect(data) {
  return request({
    url: '/system/select',
    method: 'post',
    data: data
  })
}

// 修改主动安全报警查询
export function updateSelect(data) {
  return request({
    url: '/system/select',
    method: 'put',
    data: data
  })
}

// 删除主动安全报警查询
export function delSelect(id) {
  return request({
    url: '/system/select/' + id,
    method: 'delete'
  })
}
